package com.zzzyh.forumsystemclient.services.impl;

import com.zzzyh.forumsystemclient.dao.CategoryMapper;
import com.zzzyh.forumsystemclient.model.Category;
import com.zzzyh.forumsystemclient.services.ICategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CategoryServiceImpl implements ICategoryService {
    @Autowired
    private CategoryMapper categoryMapper;

    @Override
    public List<Category> categorieAll() {
        return categoryMapper.categorieAll();
    }
}
